package nix.struts.tag;

import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class Demo1Action extends ActionSupport {

	@Override
	public String execute() throws Exception {

		List<String> list = new ArrayList<String>();
		list.add("zhangSan");
		list.add("liSi");
		list.add("wangWu");
		list.add("zhaoLiu");
		ActionContext.getContext().put("list", list);
		
		return SUCCESS;
	}
}
